package com.party.service.download;

/**
 * Created with IntelliJ IDEA.
 * User: beyond
 * Date: 14-9-18
 * Time: 下午10:37
 * To change this template use File | Settings | File Templates.
 */

import com.party.common.Page;
import com.party.model.Download;
import com.party.model.DownloadExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 相关下载
 */
public interface DownloadService {
    /**
     * 相关下载
     * 增删改查
     */
    public int addDownload(Download download);

    public int deleteDownloadByPrimaryKey(Integer id);

    public int deleteExamByIds(String ids);

    public Download getDownloadByPrimaryKey(Integer id);

    public int updateDownloadByPrimaryKey(Download download);

    /**
     * 获得相关下载数据列表（分页）
     * @param pageSize
     * @param pageNumber
     * @return
     */
    public Page getDownloadList(Download download,int pageSize, int pageNumber);
}
